API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsScripts
Scripts
ScriptManager.h
1
// ScriptManager.h
3
//
5
6
namespace
nkScripts
7
{
13
class
DLL_SCRIPTS_EXPORT
ScriptManager
final :
public
nkCommon::SingletonClass<ScriptManager>
14
{
15
public :
16
25
Script
*
createOrRetrieve
(
const
std::string_view& name) ;
32
Script
*
get
(
const
std::string_view& name) ;
41
Script
*
getByIndex
(
unsigned
int
id
) ;
48
void
rename
(
const
std::string_view& currentName,
const
std::string_view& newName) ;
54
void
erase
(
const
std::string_view& name) ;
55
} ;
56
}
nkScripts::ScriptManager::erase
void erase(const std::string_view &name)
nkScripts
Encompasses all API of component NilkinsScripts.
Definition:
Environment.h:7
nkScripts::Script
Holds all information for a script.
Definition:
Script.h:14
nkScripts::ScriptManager::getByIndex
Script * getByIndex(unsigned int id)
nkScripts::ScriptManager
Manages the scripts available in the component.
Definition:
ScriptManager.h:14
nkScripts::ScriptManager::get
Script * get(const std::string_view &name)
nkScripts::ScriptManager::rename
void rename(const std::string_view ¤tName, const std::string_view &newName)
nkScripts::ScriptManager::createOrRetrieve
Script * createOrRetrieve(const std::string_view &name)
Generated by
Doxygen
1.8.18